Powershell Command  to Enable Mapi for 100 specific users
Can someone help write a powershell command that I can easily enable MAPI to 100 users in the same domain, note that not all users in this domain uses mapi, I have a list of the specific 100 user email addresses to enable the mapi.
March 17th, 2015 2:28am

Hi,

Try this script, I test it in my lab, and it works well.

$Export = Get-Content C:\Users\AdminAccount\Desktop\Mailbox.txt

foreach ($mb in $Export) { $mb | Set-CASMailbox -MAPIEnabled $true }

Before we run this script, save all users email address to txt file like below. In my script, I put this txt file to desktop. If you put this txt file to other folder, please edit the path in my script. And remember to replace the AdminAccount field to your exchange account in myscript.

Best Re

Free Windows Admin Tool Kit Click here and download it now
March 17th, 2015 10:08pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics